CLOSE

Syntax: CLOSE #channel
    or: CLOSE #channel1 {,#channel}      (Toolkit II, Btool &
                                          Minerva v1.81+)
    or: CLOSE                            (Toolkit II, THOR &
                                          Minerva v1.81+, BTool)

Location: QL ROM, Toolkit II, BTool

CLOSE is a procedure which closes a specified channel, (or even several channels if the second or third variant is used). The contents of that channel will however remain unchanged.

The second variant allows any number of specified channels to be closed at the same time and the third closes all channels with channel numbers of #3 or above.

WARNING:
Although under the interpreter, channel #0 (the command window) and channels #1 and #2 can be closed, this will lock up the SuperBASIC interpreter.

CROSS-REFERENCE:
OPEN, CHANNELS, CLOSE%
